// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_distributionlists
// * CreateDate    : 2014-06-05 18:29:55
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:55
// * LastChanger   : 2014-06-05 18:29:55
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmDistributionlistsTable : TableInfo
    {
		public const string C_TableName = "hm_distributionlists";
		
		public const string C_distributionlistid = "distributionlistid";
		public const string C_distributionlistdomainid = "distributionlistdomainid";
		public const string C_distributionlistaddress = "distributionlistaddress";
		public const string C_distributionlistenabled = "distributionlistenabled";
		public const string C_distributionlistrequireauth = "distributionlistrequireauth";
		public const string C_distributionlistrequireaddress = "distributionlistrequireaddress";
		public const string C_distributionlistmode = "distributionlistmode";
		
		public HmDistributionlistsTable()
        {
            _tableName = "hm_distributionlists";
        }
		
		protected static HmDistributionlistsTable _current;
        public static HmDistributionlistsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmDistributionlistsTable();

            _current.Add(C_distributionlistid, new ColumnInfo(C_distributionlistid,"Distributionlistid", true, typeof(int)));
            _current.Add(C_distributionlistdomainid, new ColumnInfo(C_distributionlistdomainid,"Distributionlistdomainid", false, typeof(int)));
            _current.Add(C_distributionlistaddress, new ColumnInfo(C_distributionlistaddress,"Distributionlistaddress", false, typeof(string)));
            _current.Add(C_distributionlistenabled, new ColumnInfo(C_distributionlistenabled,"Distributionlistenabled", false, typeof(byte)));
            _current.Add(C_distributionlistrequireauth, new ColumnInfo(C_distributionlistrequireauth,"Distributionlistrequireauth", false, typeof(byte)));
            _current.Add(C_distributionlistrequireaddress, new ColumnInfo(C_distributionlistrequireaddress,"Distributionlistrequireaddress", false, typeof(string)));
            _current.Add(C_distributionlistmode, new ColumnInfo(C_distributionlistmode,"Distributionlistmode", false, typeof(byte)));
			
		}
		
		public ColumnInfo distributionlistid
        {
            get { return this[C_distributionlistid]; }
        }
		
		public ColumnInfo distributionlistdomainid
        {
            get { return this[C_distributionlistdomainid]; }
        }
		
		public ColumnInfo distributionlistaddress
        {
            get { return this[C_distributionlistaddress]; }
        }
		
		public ColumnInfo distributionlistenabled
        {
            get { return this[C_distributionlistenabled]; }
        }
		
		public ColumnInfo distributionlistrequireauth
        {
            get { return this[C_distributionlistrequireauth]; }
        }
		
		public ColumnInfo distributionlistrequireaddress
        {
            get { return this[C_distributionlistrequireaddress]; }
        }
		
		public ColumnInfo distributionlistmode
        {
            get { return this[C_distributionlistmode]; }
        }
		
		
		
	}
}

